package com.jic.order.model.entity;

import java.util.Date;
import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@ApiModel(description = " m_order_pay ")
public class MOrderPay extends BaseEntity {
	private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "主键ID")
    private Long id;

    @ApiModelProperty(notes = "订单父编号")
    private String parentOrderNo;

    @ApiModelProperty(notes = "支付单编号")
    private String orderPayNo;

    @ApiModelProperty(notes = "支付类型，1网上支付、2线下支付（货到付款以及在店购买都属于这种状态）")
    private Integer payType;

    @ApiModelProperty(notes = "支付状态，1待支付、2已支付、3已关闭、4部分支付（一笔父单中，有一部分是在线支付的，一部分是货到付款的，此时货到付款的钱并未付）")
    private Integer payStatus;

    @ApiModelProperty(notes = "支付总金额")
    private BigDecimal payTotalAmount;

    @ApiModelProperty(notes = "剩余支付总金额")
    private BigDecimal lavePayTotalAmount;

    @ApiModelProperty(notes = "支付时间，跳转收银台的时间")
    private Date payTime;

    @ApiModelProperty(notes = "创建人姓名")
    private String creatorName;

    @ApiModelProperty(notes = "更新人姓名")
    private String updaterName;

}
